package ltd.dujiabao.springcloud.dao;

import ltd.dujiabao.springcloud.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author : DuJiabao
 * @Project : springcloud
 * @Time : 2021/5/26 20:50
 * @Desc :
 */

@Mapper
public interface OrderMapper {
  int create(Order order);

  int updateStatus(@Param("userId") Long userId, @Param("status") Integer status);
}
